home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- RANGE(QUEL) 2/29/79 RANGE(QUEL)
-
-
-
- NAME
- range - declare a variable to range over a relation
-
- SYNOPSIS
- _r_a_n_g_e _o_f variable _i_s relname
-
- DESCRIPTION
- _R_a_n_g_e is used to declare variables which will be used in
- subsequent QUEL statements. The _v_a_r_i_a_b_l_e is associated with
- the relation specified by _r_e_l_n_a_m_e. When the _v_a_r_i_a_b_l_e is
- used in subsequent statements it will refer to a tuple in
- the named relation. A range declaration remains in effect
- for an entire INGRES session (until exit from INGRES), until
- the variable is redeclared by a subsequent range statement,
- or until the relation is removed with the destroy command.
-
- EXAMPLE
- /* Declare tuple variable e to range over relation emp */
- range of e is emp
-
- SEE ALSO
- quel(quel), destroy(quel)
-
- BUGS
- Only 10 variable declarations may be in effect at any time.
- After the 10th range statement, the least recently refer-
- enced variable is re-used for the next range statement.
-
-
-